76a32d8c41189135e602e44ba7d24493c7461bc3,src-ui/org/pentaho/di/ui/repository/kdr/KettleDatabaseRepositoryDialog.java,KettleDatabaseRepositoryDialog,open,#,109
Before Change
// Description line
wlDescription=new Label(shell, SWT.RIGHT);
wlDescription.setText(BaseMessages.getString(PKG, "RepositoryDialog.Label.Description")); //$NON-NLS-1$
props.setLook(wlDescription);
fdlDescription=new FormData();
fdlDescription.left = new FormAttachment(0, 0);
fdlDescription.top = new FormAttachment(wName, margin);
fdlDescription.right= new FormAttachment(middle, -margin);
wlDescription.setLayoutData(fdlDescription);
wDescription=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
props.setLook(wDescription);
fdDescription=new FormData();
fdDescription.left = new FormAttachment(middle, 0);
fdDescription.top = new FormAttachment(wName, margin);
fdDescription.right= new FormAttachment(100, 0);
wDescription.setLayoutData(fdDescription);
After Change
// ID line
wlId = new Label(shell, SWT.RIGHT);
wlId.setText(BaseMessages.getString(PKG, "RepositoryDialog.Label.ID")); //$NON-NLS-1$
props.setLook(wlId);
fldId = new FormData();
fldId.left = new FormAttachment(0, 0);
fldId.top = new FormAttachment(wnConnection, margin * 2);
fldId.right = new FormAttachment(middle, -margin);
wlId.setLayoutData(fldId);
wId = new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
if (mode == MODE.EDIT) {
wId.setEnabled(false);
}
props.setLook(wId);
fdId = new FormData();
fdId.left = new FormAttachment(middle, 0);
fdId.top = new FormAttachment(wnConnection, margin * 2);
fdId.right = new FormAttachment(100, 0);
wId.setLayoutData(fdId);
// Name line
wlName = new Label(shell, SWT.RIGHT);